package cn.lutu.domain.service;



import cn.lutu.protocol.vo.OrderListVO;
import cn.lutu.protocol.vo.OrderVO;
import cn.lutu.protocol.vo.adminVO.AdminOrderVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @date 2023-06-03
 * @author luoyinhan
 * */
@Transactional
public interface OrderService {

    void deleteOrder(Long id);

    void cancelOrder(Long id);

    void refundOrder(Long id);

    List<OrderVO> getListOrderByStatus(String status,Long id);

    List<OrderVO> getListByCategoryAndKeyword(Long categoryId, String keyword,Long id);

    List<OrderListVO> getAllOrderList();

    void rebuildListCache();
}
